﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MenuSanPham.ascx.cs" Inherits="Controls_MenuSanPham" %>

<script type="text/javascript">
    function initMenu() {
      $('ul#menu ul').hide();
      $('ul#menu ul').children('.current').parent().show();
      $('ul#menu li a').click(
        function() {
          var checkElement = $(this).next();
          if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
            return false;
            }
          if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
            $('ul#menu ul:visible').slideUp('normal');
            checkElement.slideDown('normal');
            return false;
            }
          }
        );
      }
    $(document).ready(function() {initMenu();});
</script>  
<div id="cornerfirst">
                            <div class="inside">
                                Menu sản phẩm</div>
                        </div>
    <ul id="menu">
        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
    </ul>
